package com.stm.bi.service;

import com.stm.bi.dto.query.RegionalSaleQry;
import com.stm.bi.dto.vo.RegionalWeatherVO;
import com.stm.bi.model.Chart;
import com.stm.bi.report.MacroeconomicDataQueryExe;
import com.stm.framework.dto.Response;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * @author liuyx
 * @date 2025/4/3 14:31
 */
@Service
public class MacroeconomicDataService {
    @Resource
    private MacroeconomicDataQueryExe macroeconomicDataQueryExe;


    public Response<RegionalWeatherVO> regionalTemperatureHumidity(RegionalSaleQry regionalSaleQry) {
        return macroeconomicDataQueryExe.regionalTemperatureHumidity(regionalSaleQry);
    }

    public Response<Chart> provinceTemperatureHumidity(RegionalSaleQry regionalSaleQry) {
        return macroeconomicDataQueryExe.provinceTemperatureHumidity(regionalSaleQry);
    }

    public Response<Chart> capitalTemperatureHumidity(RegionalSaleQry regionalSaleQry) {
        return macroeconomicDataQueryExe.capitalTemperatureHumidity(regionalSaleQry);
    }

    public Response<Chart> regionalWeatherMap(RegionalSaleQry regionalSaleQry) {
        return macroeconomicDataQueryExe.regionalWeatherMap(regionalSaleQry);
    }

}
